package ui.control;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.swtxml.swt.byid.ById;
import com.swtxml.views.SwtXmlComposite;

public class ProductCommonInfo extends SwtXmlComposite {
	private final static Logger logger = LoggerFactory.getLogger(ProductCommonInfo.class);
	@ById
	private Text prodId;
	@ById
	private Text prodType;
	@ById
	private Text prodName;
	@ById
	private Text currency;
	@ById
	private Text issueDate;
	@ById
	private Text matDate;
	@ById
	private Text notional;
	@ById
	private Text cnParty;
	@ById
	private Text creditGrade;
	@ById
	private Text bizRule;
	@ById
	private Text bizNum;
	@ById
	private Text currAmt;
	@ById
	private Text disCurve;
	@ById
	private Text disSpread;
	@ById
	private Text calendar;

	
	
	public ProductCommonInfo(Composite parent, int style) {
		super(parent, style);
	}



	/**
	 * @return the prodId
	 */
	public Text getProdId() {
		return prodId;
	}



	/**
	 * @param prodId the prodId to set
	 */
	public void setProdId(Text prodId) {
		this.prodId = prodId;
	}



	/**
	 * @return the prodType
	 */
	public Text getProdType() {
		return prodType;
	}



	/**
	 * @param prodType the prodType to set
	 */
	public void setProdType(Text prodType) {
		this.prodType = prodType;
	}



	/**
	 * @return the prodName
	 */
	public Text getProdName() {
		return prodName;
	}



	/**
	 * @param prodName the prodName to set
	 */
	public void setProdName(Text prodName) {
		this.prodName = prodName;
	}



	/**
	 * @return the currency
	 */
	public Text getCurrency() {
		return currency;
	}



	/**
	 * @param currency the currency to set
	 */
	public void setCurrency(Text currency) {
		this.currency = currency;
	}



	/**
	 * @return the issueDate
	 */
	public Text getIssueDate() {
		return issueDate;
	}



	/**
	 * @param issueDate the issueDate to set
	 */
	public void setIssueDate(Text issueDate) {
		this.issueDate = issueDate;
	}



	/**
	 * @return the matDate
	 */
	public Text getMatDate() {
		return matDate;
	}



	/**
	 * @param matDate the matDate to set
	 */
	public void setMatDate(Text matDate) {
		this.matDate = matDate;
	}



	/**
	 * @return the notional
	 */
	public Text getNotional() {
		return notional;
	}



	/**
	 * @param notional the notional to set
	 */
	public void setNotional(Text notional) {
		this.notional = notional;
	}



	/**
	 * @return the cnParty
	 */
	public Text getCnParty() {
		return cnParty;
	}



	/**
	 * @param cnParty the cnParty to set
	 */
	public void setCnParty(Text cnParty) {
		this.cnParty = cnParty;
	}



	/**
	 * @return the creditGrade
	 */
	public Text getCreditGrade() {
		return creditGrade;
	}



	/**
	 * @param creditGrade the creditGrade to set
	 */
	public void setCreditGrade(Text creditGrade) {
		this.creditGrade = creditGrade;
	}



	/**
	 * @return the bizRule
	 */
	public Text getBizRule() {
		return bizRule;
	}



	/**
	 * @param bizRule the bizRule to set
	 */
	public void setBizRule(Text bizRule) {
		this.bizRule = bizRule;
	}



	/**
	 * @return the bizNum
	 */
	public Text getBizNum() {
		return bizNum;
	}



	/**
	 * @param bizNum the bizNum to set
	 */
	public void setBizNum(Text bizNum) {
		this.bizNum = bizNum;
	}



	/**
	 * @return the currAmt
	 */
	public Text getCurrAmt() {
		return currAmt;
	}



	/**
	 * @param currAmt the currAmt to set
	 */
	public void setCurrAmt(Text currAmt) {
		this.currAmt = currAmt;
	}



	/**
	 * @return the disCurve
	 */
	public Text getDisCurve() {
		return disCurve;
	}



	/**
	 * @param disCurve the disCurve to set
	 */
	public void setDisCurve(Text disCurve) {
		this.disCurve = disCurve;
	}



	/**
	 * @return the disSpread
	 */
	public Text getDisSpread() {
		return disSpread;
	}



	/**
	 * @param disSpread the disSpread to set
	 */
	public void setDisSpread(Text disSpread) {
		this.disSpread = disSpread;
	}



	/**
	 * @return the calendar
	 */
	public Text getCalendar() {
		return calendar;
	}



	/**
	 * @param calendar the calendar to set
	 */
	public void setCalendar(Text calendar) {
		this.calendar = calendar;
	}


	
	

}
